﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using Kooboo.Commerce.AddIn;

namespace Kooboo.Commerce.Payments.PayPal
{
    public class PaymentMethodViews : Controller, IPaymentMethodViews
    {
        #region IPaymentMethodViews Members

        public System.Web.Mvc.RedirectToRouteResult CheckLog(IOrder order)
        {
            return this.RedirectToAction("CheckLogs", "Paypal", new { Id = order.Id });
        }

        public System.Web.Mvc.RedirectToRouteResult CheckLogs()
        {
            return this.RedirectToAction("CheckLogs", "Paypal");
        }

        public System.Web.Mvc.RedirectToRouteResult Settings()
        {
            return this.RedirectToAction("Settings", "Paypal");
        }

        #endregion
    }
}